<?php

namespace App\Exceptions;

use Exception;

class AuthException extends Exception
{
    //
    public function report()
    {

    }

    public function render($request): \Illuminate\Http\JsonResponse
    {
        return response()->json(['message' => $this->getMessage()], 401);
    }
}
